/**
 * Kwadrat.h
 *
 * Version: $Id: Kwadrat.h 80 2012-01-07 11:57:24Z s8376@pjwstk.edu.pl $
 */

#ifndef KWADRAT_H_
#define KWADRAT_H_

#include "Element.h"

class Kwadrat: public Element
{
    protected:
        int m_width;
    public:
        Kwadrat(int x, int y, int width) :
            Element(x, y), m_width(width)
        {
        }
        virtual void show();
        virtual double getArea();
};

#endif /* KWADRAT_H_ */
